LEADTOOLS Image File Support (Leadtools.Codecs assembly)

FeedLoad(Byte[],Int32,Int32) Method

Show in webframe







The image file data.
Offset from the beginning of the buffer to where the image data starts.
Total size (in bytes) of the image data.
Supplies image data to the file-load process from a buffer that you provide.
Syntax
public void FeedLoad( 
   byte[] data,
   int offset,
   int length
)
'Declaration
 
Public Overloads Sub FeedLoad( _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) 
'Usage
 
Dim instance As RasterCodecs
Dim data() As Byte
Dim offset As Integer
Dim length As Integer
 
instance.FeedLoad(data, offset, length)
public void FeedLoad( 
   byte[] data,
   int offset,
   int length
)

            

            
 function Leadtools.Codecs.RasterCodecs.FeedLoad(Byte[],Int32,Int32)( 
   data ,
   offset ,
   length 
)
public:
void FeedLoad( 
   array<byte>^ data,
   int offset,
   int length
) 

Parameters

data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.
Remarks

Use this method with the StartFeedLoad(Int32,CodecsLoadByteOrder) and StopFeedLoad methods.

For a description of how the methods relate to each other, refer to StartFeedLoad(Int32,CodecsLoadByteOrder).

LEADTOOLS will attempt to load corrupted files so you can see at least a portion of the image. For these images, the load methods succeed, but LoadStatus will return an error code.

Example
For an example, refer to StartFeedLoad(Int32,CodecsLoadByteOrder).
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Loading and Saving Images
Loading and Saving Large Tiff Files
Speeding Up 1-Bit Documents
Fast File Info

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.